package com.jxc.pojo;

import java.io.Serializable;
import java.util.List;

/**
 * @包名   com.jxc.system.role.pojo
 * @文件名 TreeNode.java
 * @作者   mopzyqing
 * @创建日期 Jul 16, 2010
 * @版本 V 1.0
 */
public class TreeNode implements Serializable{

	private String id;       //id
	private String parentid;       //parentid
    private String text;          //节点显示
    private String cls;           //图标
    private boolean leaf;         //是否叶子
    private List<TreeNode> children;//子节点
    private boolean checked;
	public String getParentid() {
		return parentid;
	}
	public void setParentid(String parentid) {
		this.parentid = parentid;
	}
	public String getText() {
		return text;
	}
	public void setText(String text) {
		this.text = text;
	}
	public String getCls() {
		return cls;
	}
	public void setCls(String cls) {
		this.cls = cls;
	}
	public boolean isLeaf() {
		return leaf;
	}
	public void setLeaf(boolean leaf) {
		this.leaf = leaf;
	}
	public List<TreeNode> getChildren() {
		return children;
	}
	public void setChildren(List<TreeNode> children) {
		this.children = children;
	}
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public boolean isChecked() {
		return checked;
	}
	public void setChecked(boolean checked) {
		this.checked = checked;
	}
}
